package com.linewell.license.demo.designPattern.createPattern.SingletonPattern;

/**
 * @Title: springBootDemo
 * @description:   单例类
 * @author: hyuhuang@linewell.com
 * @since:2019/11/22
 */
public class Book {

    private static Book book = new Book();

    private Book() {
    }

    public static Book getSingletonBook(){
        return book;
    }
}
